/* 清空元素浏览器默认的属性值 */
*{
    margin: 0px;
    padding: 1px;
}
/* 设置页面显示的字体大小/背景色 */
body{
    font-size: 15px;
    background-color: #f2f2f0;
}
/* 消除表元素默认的样式 */
ul{
    list-style-type: none;
}
/* 清除超级连接的下划线 */
a{
    text-decoration: none;
    color: #e8f5ec;
}
/* 焦点颜色样式定义 */
.focus{
    color: #b8eaee !important;
}
/* 编写导航条的样式 */
#nav{
    width: 100%;
    position: fixed;
    border: solid 0px red;
    background-color: #555;
    margin: -2px;
}
#nav>.box{
    overflow: hidden;
    width: 960px;
    margin: 0 auto;
    border: solid 0px blue;
    padding: 24px 0px;
}
#nav>.box>.title{
    float: left;
    margin-right: 70px;
}
#nav>.box>.title>h3{
    color: #b8Eaee;
    font-size: 20px;
}
#nav>.box>.list{
    float: left;
    
}
#nav>.box>.list>ul{
    float: left;
}
#nav>.box>.list>ul>li{
    float: left;
    margin-right: 30px;
    color: #e8f5ec;
}
#nav>.box>.a1{
    float: right;
}
#nav>.box>.a1>a{
    margin-right: 10px;
}

/* 登录页面的样式 */
#login>img{
    width: 100%;
    height: 100%;
    position:fixed;
    /* 设置元素透明度 opacity */
    opacity: 1;
}

/* 登录弹框样式 */
#log{
    position: absolute;
    width: 450px;
    height: 420px;
    border: solid 0px red;
    left: 50%;
    margin-left: -225px;
    top: 50%;
    margin-top: -210px;
    background-color: rgba(255,255,255,0.3);
    /* opacity: 0.5; */
    border-radius: 5px;
    box-shadow: 15px 15px 20px;
}
#log>form>.title{
    font-size: 24px;
    text-align: center;
    padding: 20px 0px;
    border-bottom: solid 1px #ccc;
}
#log>form>.tip{
    margin: 32px 0px 10px 86px;
    font-weight: bold;
}
#log>form>.item{
    margin-top: 25px;
}
#log>form>.item>input{
    width: 250px;
    margin-left: 86px;
    padding: 8px;
    outline: none;
    border: solid 1px #ccc;
}
#log>form>.error{
    margin: 10px 0px 10px 86px;
    color: red;
    display: none;
}
#log>form>.btn{
    margin-top: 20px;
}
#log>form>.btn>input{
    margin-left: 286px;
    width: 70px;
    padding: 8px 0;
    background-color: green;
    border-radius: 2px;
    color: white;
    border: none;
}
#log>form>.btn>input:hover{
    background-color: #666;
    color: green;
    font-weight: 10px;
}

/* 列表页的样式 */
#list,#pics{
    width: 960px;
    margin: 75px auto;
    border: solid 0px red;
}
/* 编写标题样式 */
#list>.top,#pics>.top{
    border-bottom: solid 1px #ccc;
    overflow: hidden;
}
#list>.top>.tleft,#pics>.top>.tleft{
    float: left;
    background-color: black;
    color: white;
    padding: 10px 15px;
}
#list>.top>.tright,#pics>.top>.tright{
    float: right;
    padding-top: 15px;
}
/* 编写列表主体元素 */
#list>.body{
    overflow: hidden;
    border: solid 0px blue;
}
#list>.body>.lst{
    float: left;
}
#list>.body>.lst>.item{
    background-color: #fff;
    padding: 12px 15px 20px 15px;
    margin-top: 20px;
}
#list>.body>.lst>.item>.title{
    margin-bottom: 8px;
}
/* 设置选项内容的样式 */
#list>.body>.lst>.item>.con{
    overflow: hidden;
}
#list>.body>.lst>.item>.con>.cleft{
    width: 210px;
    float: left;
}
#list>.body>.lst>.item>.con>.cright{
    float: left;
    width: 370px;
    padding:15px 0px 15px 15px;
    border: solid 0px orange;
}
#list>.body>.lst>.item>.con>.cright>.pbottom{
    margin-top: 26px;
    margin-bottom: 10px;
    font-size: 11px;
}
#list>.body>.lst>.item>.con>.cleft>img{
    width: 100%;
}
#list>.body>.ad{
    margin-top: 20px;
    float: right;
    padding: 20px 15px;
    background-color: white;
}
#list>.body>.ad>.adtip{
    margin-bottom: 20px;
}
#list>.body>.ad>.adtip>.line{
    border-bottom: solid 2px #000;
    width: 80px;
    padding-bottom: 20px;
}
#list>.body>.ad>.imglst>ul>li{
    width: 275px;
}
#list>.body>.ad>.imglst>ul>li>img{
    width: 100%;
}

/* 设置图片列表的表项样式 */
#pics>.item{
    float: left;
    border: solid 0px red;
    margin: 20px 3px 20px 3px;
}
#pics>.item>.title{
    padding: 10px 15px;
    background-color: white;
    height: 45px;
}
#pics>.item>.imgs{
    width: 226px;
    position: relative;
}
#pics>.item>.imgs>img{
    width: 100%;
}
#pics>.item>.imgs>.tip{
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #cc0138;
    color: white;
    border-radius: 3px;
    padding: 5px;
}